package com.demo.serviceImp;

import com.demo.serviceI.DemoService;
import org.springframework.scheduling.annotation.Async;


public class DemoServiceWindowImp implements DemoService {

    @Override
    public String info() {

        return "window";
    }

    @Override
    @Async
    public void print(int i) {
        System.out.println(i);
    }
}
